Tip

fun Tip(text: String, modifier: Modifier, icon: Int, onClick: () -> Unit? = null)

Deprecated

Use M3X instead of the com.porg.m3 package.

Replace with

import tech.cataspect.m3x.Tip
tech.cataspect.m3x.Tip(text, modifier, icon, onClick)

A tip - a round surface with an icon and text.

Parameters

text

the tip's text.

modifier

an extra modifier applied to the surface.

icon

the icon's resource ID.

onClick

what to do when the tip is clicked. If null, the tip cannot be clicked.